<!DOCTYPE html>
<html>
  <head>
    <title>北斗智慧校园</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../../../css/index.css">
	<script type="text/javascript" src="../../../../../public/libs/jquery/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="../../../../../public/libs/jquery/jquery-lhgdialog/lhgdialog.min.js?self=true&skin=idialog"></script>
	<script type="text/javascript" src="../../../../../public/js/home-common.js"></script>
	<script type="text/javascript" src="../../../../../public/libs/undercore.js"></script>
	<script type="text/javascript" src="../../../../../public/js/home-common.js"></script>
	<script type="text/javascript" src="../../../../../public/js/ajax-crud.js"></script>
	<script type="text/javascript" src="../../../../../public/js/config.js"></script>
	<script type="text/javascript" src="../../../../../public/js/tools.js"></script>
	<script type="text/javascript" src="../../../../../public/js/check.js"></script>
	<script type="text/javascript">
		$(function(){
			var rcH = $(".body-right",parent.parent.document).height() - $(".right-title",parent.document).height()-3;
			$(".right-content",parent.document).height(rcH);
			
			var cdsH = $(".right-content",parent.document).height() - $(".content-title").height() - 40;
			$(".content-data-show").height(cdsH);
		});
	</script>
	<script type="text/javascript" src="js/tdetail.js"></script>
  </head>
  <body style="overflow: hidden;font-family: 微软雅黑;">
  		<div class="content-title">
			<div class="table-logo">
				<img src="../../../../../img/xw/add-li.png" width="100%" height="100%">
			</div>
			<div class="table-title">考勤详情</div>
			<div class="table-pages">
				<a href="javascript:void(0)" id="back-to-table" style="display: block;" class="return-back">返回</a>
			</div>
		</div>
		<div class="data-back-img"></div>
		<div class="content-data-show" id="detail-html">
			
		</div>
		<script id="detail-template" type="text/template">
			<@_.each(obj, function(data,i) {@>
 				<div class="table-trs">
					<div class="tables-left" style='margin-left:15px;width:120px;'>
						<div class="table-name" style='width:220px;'><@=data.studentname@></div>
						<div class="table-code" style='width:220px;'><@=data.studentcode@></div>
					</div>
					<div class="tables-middle" style='margin-left:25%;'>
						<div class="table-class" style='width:300px;'><@=data.classinfo.grade@>年级<@=data.classinfo.class_@>班</div>
						<div class="table-code" style='width:300px;'>时间：<@=getFormatDateByLong(parseInt(data.time),"yyyy-MM-dd hh:mm")@></div>
					</div>
					<div class="tables-right">
						<@var type = ""; @>
							<@if(data.type == 1){@>
								<@type = "请假";@>
							<@}else if(data.type == 2){@>
								<@type = "迟到";@>
							<@}else if(data.type == 3){@>
								<@type = "旷课";@>
							<@}else if(data.type == 5){@>
							<@	type = "非法离校";@>
							<@}@>
						<div class="table-address">类型：<@=type@></div>
					</div>
				</div>
			</div>
			<@});@>
		</script>
	</body>
</html>